package com.cuif.aop;

import java.util.Random;

public class Singer implements Perform{

	@Override
	public int songBAT() {
		return song();
	}

	@Override
	public int songAround() {
		return song();
	}
	
	public int song(){
		Random random = new Random();
		int num = random.nextInt(4);
		num = 1/num;
		
		System.out.println("我是歌手,我就唱一首歌!");
		return num;
	}

}
